package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 班级和学生关联对象 sys_class_and_student
 * 
 * @author ruoyi
 * @date 2025-04-14
 */
public class SysClassAndStudent extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String csId;

    /** 班级ID */
    @Excel(name = "班级ID")
    private String classId;

    /** 学生ID */
    @Excel(name = "学生ID")
    private String studentId;

    public void setCsId(String csId) 
    {
        this.csId = csId;
    }

    public String getCsId() 
    {
        return csId;
    }

    public void setClassId(String classId) 
    {
        this.classId = classId;
    }

    public String getClassId() 
    {
        return classId;
    }

    public void setStudentId(String studentId) 
    {
        this.studentId = studentId;
    }

    public String getStudentId() 
    {
        return studentId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("csId", getCsId())
            .append("classId", getClassId())
            .append("studentId", getStudentId())
            .toString();
    }
}
